<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>counter demo</title>
</head>

<body>
  <div id="counter">
    <button data-f="dec">-1</button>
    <span class="value"></span>
    <button data-f="inc">+1</button>
  </div>
  
  <script type="module" src="./main.js"></script>
</body>

</html>